SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b01f517413998cf52a7d6a225adfdc17657105f39ba415d134e536c4b12cdcd8' 
  AND token = '4nNCg5cZ5RQYg/cynJ8foS69247reVufGMH0VdhxEwA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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