SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3419172788e8695edf4838bfce0e24e77e22b7747c785329970948786175f05a' 
  AND token = 'pw6rA0rdRcM4dTR9spjqFk3/lsGupe8AeUDUpkETqNU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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