SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e4fce0cb342fbf611af58ca4bf027ed28f14f1dd134b8ef3a9d51311b005382f' 
  AND token = 'c6Cgcx22yt5WwBSXvVBRFVEdg1coXCsxUy6zisi0/Gc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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