SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a0f86aed215e552424493a46e56e0c37984d982a936dd7e672a201df5ed3c68b' 
  AND token = '2causGpjSLj1thJFX1HlktJDAu7OChu/5CDzoMYdvCg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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