SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd198bbc79e82ae7f8f330afa89dfd850e6fced8b1deafd78efbd28f4f2bb9616' 
  AND token = 'X3YhEPX0ztdDbO3EE+OacE6GY3wTKjqm1gXS79uJX6A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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