SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '64cf97f16d91a57839900d022ec7624096205284891ad081c80b5cdef6eb85c0' 
  AND token = 'Nedoc/sUSwESRJHj1kVY0pNfCISAZQRMbt9/KvsePRg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00120

JSON explain

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