SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a0a46db7e461ed76290a0793f6bdf1a1199a7c1b1acc1834badcad9a62da5087' 
  AND token = 'NQVm06qZYl/SCgOYPVF4TQBia0mtZpGj219dGJPuArw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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