SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9a9ec116a519f2a65f961d035bf66135c8623718625bd9a21dcffda252319e74' 
  AND token = 'ugwgn0AoLk6PKbgh1cutufSYcvPKwQ/MTjz5YkwyN0o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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