SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3efbef112957b83d2d7a97176359ad42287fb2e3ac823f68c0263a8c8f695b15' 
  AND token = 'f0Z5tEOdQ0mo9ZY3LKhPWGdTd/h2pUWPBfDvVadhFoI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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