SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec5bdcbdff034566866bbe56a7c961fdc7c5e9987f32f65706a130bfeffe862b' 
  AND token = 'AF/Dgid/8CjFC2ZyfdFeVLKqe0heplN/m74TIVtHw7s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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