SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e87b59de478b6fa3a4d040af05ffa14602c16f91f04c624a83a1a05fd591623e' 
  AND token = 'lhUBvvV4gMjMfhd1UWAJyjnM3Fj+SAZGiEH0mO5zmIE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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