SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9afe8897ef552b1c4c26417e12a55f3dc6cd44a11595b2f929196fa3faa2b0e7' 
  AND token = '8Bt4eabeld4bFv2BYxMXTZ5kuZcfQSWJVVZSsbnJdZA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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