SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8e011218132fb5bd9a5da6c923a88272d22279e5b9e6eefc74869f5f8c400efc' 
  AND token = 'LczXzOHgsiESxxilJEY4VL2yD79/JLVf7qGKF2K1Zh4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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