SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bc12592fdf96077de09f211f7f2c7ff29745140676b58e1e0616697b7d5949ef' 
  AND token = '2XHcqM7feemaAUNZLkBtloSYDH76qfmvEPUYk0Es53c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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