SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '99d87811e2723615f2a13e73ac8dd8e2b91d663c12aa4fcb32b0aadea478bef6' 
  AND token = 'w/QjRKIy077QgWD4XvI611c1jJe3yYqWLNFggb6dQe0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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