SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ccb65ead1a9444b57b9f1addf7375b5a0a6fdc2faa14326641d766092bb6b37b' 
  AND token = 'WS7wXoQmOMrU7rGKK6CezzZ1iRMRkzSZkJ4CTsTQkEE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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