SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bf31f949d2fad61c6a28650edad58d976dda14a970cd42ffd35f240e88d8526c' 
  AND token = 'ls8nlDc63Pv072mGcJlIR4IqnWmOeByGbW4l799IT4g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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