SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef7db4d1369f528fe27a8f717020b1e1080c1ba75054449acc2187b91b3c5a05' 
  AND token = 'K+gkN0AWseY9EZpexsq+8x2PRGZjz7sE8Zy7IQtTZls=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}