SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1c8d768c392873ecdf1b10daa96713462683bf6785cdd7f53645b162fa89667' 
  AND token = 'o92rzaW+PyGBY2f18GNXca7TLy9AUqEvlFKdF7q2iNo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00064

JSON explain

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