SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4b123b23e3f6b92135ea607a9f05083d1edd511214349457b6d0add61f5d1b1f' 
  AND token = 'AXiX99LfPzUK+fJqKV9c3oXC96bvJBNUjxZUByVdMrA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}