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

Query time 0.00043

JSON explain

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