SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51527c366693cb024c19174e75bb2de4dc29120ecd1e9b79d1c41499b9cc0ee8' 
  AND token = 'rPYgdXW1RgkXMBOWQ1ZgUZH7/ZzSqrRqT1rawn1kxLk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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