SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b9f441934abc2d975008ffc20cd18d43373810d0660881d6f7d0ba86457e7d2c' 
  AND token = 'LrjYi3Dc0jTA4IXwgQ3m/lR6qQmczgvU3dek116Is/Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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