SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '004ed5d2ee062a1e835de8039fca21aa69fca39dd47e41d4070a2e1952464e44' 
  AND token = 'ykSSjy+C9l70pgewIRPGS7lckKxQb6atfMCwi1oC538=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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