SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '39bc51bb130c3f2b23eff7da9812b2253a2c6561773e2b72771c2b0bc707afdf' 
  AND token = 'cWywW+6XVFrDDRWOFV6Os7yOWCVf8+gRPiOvvnZPWi4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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