SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51598ec14d85df1c4073b060b681b891e1f6688568bcaba6ed6c9a12c8983f82' 
  AND token = 'L71ljP2W0M+puYU78jJK9gztcJaTsfbLrp2Ib937M+Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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